import {$get,$post} from './http'

//設定-获取素材列表
export const $getMaterial=async(params:object)=>{
    return await $get('./common/material/list',params)
}
//搜索素材
export const $searchMaterial=async(params:object)=>{
    return await $get('./common/material/search',params)
}

export const $getGroup=async(params:object)=>{
    return await $get('./common/group/list',params)
}
//获取字典
export const $getDictionary=async(params:object)=>{
    return await $get('./common/dictionary',params)
}
// //获取媒体平台
// export const $getMediaPlatform=async(params:object)=>{
//     return await $get('./common/media/platform',params)
// }
// //获取媒体分类
// export const $getMediaType=async(params:object)=>{
//     return await $get('./common/media/type',params)
// }

// //获取区域
// export const $getArea=async(params:object)=>{
//     return await $get('./common/area',params)
// }
// //获取人口属性
// export const $getPopulation=async(params:object)=>{
//     return await $get('./common/population',params)
// }
// function login(data?:object){
//     return axios.post('./user/login/',data);
// }

// function register(data:unknown){
//     return axios.post('./user/register/',data);
// }




